<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title>网站首页</title>
	</head>
	<body>
		<!--如果登陆-->
		<?php if(isset($_SESSION['uname'])): ?>
			欢迎<?php echo $_SESSION['uname'] ?>回来 <a href="./index.php?c=Login&a=out">退出</a>
		<?php else: ?>
			<a href="./index.php?c=Login">登陆</a>
			<a href="./index.php?c=Login&a=register">注册</a>
		<?php endif ?>
		
		
		
		
		
		
		
	</body>
</html>
